#ifndef FADEOUTANIMATION_H_
#define FADEOUTANIMATION_H_

#include "Animation.h"

class FadeOutAnimation : public Animation
{
public:
    FadeOutAnimation(unsigned long duration);
    virtual ~FadeOutAnimation();

    virtual void update(double factor);
    virtual void render(const Position& parent);

private:
    int alpha;
};

#endif
